package com.csy.admin.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.Map;

/**
 * 类名:${file_name}
 * Created by CSY on 2018/9/10.
 */
@Controller
public class PageController extends AbstractController{
    @RequestMapping("/login/loginPage")
    public String loginPage(){
        return "admin/login";
    }

    @RequestMapping("index.html")
    public String indexPage(Map<String, Object> map){
        map.put("user",getUser());
        return "admin/index";
    }

    @RequestMapping("main.html")
    public String mainPage(){
        return "admin/main";
    }

    @RequestMapping("/sys/menu.html")
    public String menuPage(){
        return "admin/sys/menu";
    }

    @RequestMapping("/job/resourceUrl.html")
    public String resourceUrlPage(){
        return "admin/job/resourceUrl";
    }

    @RequestMapping("/job/learningExperience.html")
    public String learningExperiencePage(){
        return "admin/job/learningExperience";
    }
}
